import request from '@/utils/request'

// 进口交易结算录入-列表
export function importGoodsStatementList(params) {
  return request({
    url: '/bt/exportSettlementBills/list',
    method: 'get',
    params
  })
}

// 根据id获取进口交易结算详细信息
export function importGoodsStatementInfoById(id) {
  return request({
    url: '/bt/exportSettlementBills/getInfo/' + id,
    method: 'get',
  })
}

// 进口商品录入
export function importGoodsStatementEntry(params) {
  return request({
    url: '/bt/exportSettlementBills/borderEnter',
    method: 'post',
    data: params
  })
}

// 删除互市申报单
export function delSettlementBill(platSeqNo) {
  return request({
    url: '/bt/exportSettlementBills/delSettlementBill/' + platSeqNo,
    method: 'get'
  })
}